
package com.fx.apartment.modules.house.service.impl;

import com.fx.apartment.common.base.BaseServiceImpl;
import com.fx.apartment.modules.house.entity.Visitor;
import com.fx.apartment.modules.house.vo.VisitorVO;
import com.fx.apartment.modules.house.mapper.VisitorMapper;
import com.fx.apartment.modules.house.service.IVisitorService;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.core.metadata.IPage;

/**
 * 访客管理 服务实现类
 *
 * @author QinXueFeng
 * @since 2021-04-19
 */
@Service
public class VisitorServiceImpl extends BaseServiceImpl<VisitorMapper, Visitor> implements IVisitorService {

	@Override
	public IPage<VisitorVO> selectVisitorPage(IPage<VisitorVO> page, VisitorVO visitor) {
		return page.setRecords(baseMapper.selectVisitorPage(page, visitor));
	}

}
